/**
 * Copyright (C)  Gadglet .
 *
 * This file is part of Gadglet
 *
 * Gadglet is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Gadglet is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Gadglet. If not, see <http://www.gnu.org/licenses/>.
 */
package com.gadglet.params;

/**
 * Gadglet predefined server request type.
 * Some of the actions are implemented by Gadglet Platform and the rest should
 * be implemented by Gadget developers.
 *
 */
public enum ReqActionTypes {
	
	ACCEPT_FRIEND  	("acceptFriend"),
	ADD				("add"),
	ADD_PROFILE 	("addProfile"),
	CONFIG			("config"),
	CUSTOM			("custom"),
	DELETE			("delete"),
	GET_FRIENDS		("getFriends"),
	GET_INVITATIONS ("getInvitations"),
	GET_PROFILE 	("getProfile"),
	GET_DOMAIN_USERS("getDomainUsers"),
	INVITE_FRIEND  	("inviteFriend"),
	REJECT_FRIEND	("rejectFriend"),
	REMOVE_FRIEND	("removeFriend"),
	SEARCH			("search"),
	SHARE			("shareWith"),// share with someone
	SHARED_LIST		("shareWithList"), // shared list of profiles or users I shared the items with
	UPDATE			("update"),// search for content 
	UPDATE_PROFILE 	("updateProfile"), 
	VIEW			("view");
		
	private String actionType;
	
	ReqActionTypes(String value){
		this.actionType=value;
		
	}
	
	public String getActionType(){
		return this.actionType;
	}
	
}
